

def demo(num,num_list):
    print('函数内置代码')

    num += num

    num_list += [4,5,6]

    print(num)
    print(num_list)
    print('函数代码完成')


gl_num = 9
gl_list = [1,2,3]
demo(gl_num,gl_list)
print(gl_num)
print(gl_list)